<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8" />
    <title>瑞金物资资源管理系统</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="shortcut icon" href="img/logo/rjh.ico" />
    <link rel="stylesheet" href="css/common/bootstrap.min.css" />
    <link rel="stylesheet" href="css/common/font-awesome.min.css" />
    <link rel="stylesheet" href="css/pages/index.css" />
    <!--[if lt IE 9]>
    <link rel="stylesheet" href="css/pages/ie8.css"/>
    <script src="js/common/html5shiv.min.js"></script>
    <script src="js/common/respond.min.js"></script>
    <script src="js/common/es5-shim.min.js"></script>
    <![endif]-->

</head>

<body>


    <!--<p th:text="${username}">hello</p>-->
    <div id="container">
        <div ms-controller="nav" id="nav">

            <div class="header">
                <div class="header-left">
                    <img src="img/index/u2.png" alt="" />
                </div>
                <div class="header-middle">
                    <h3>瑞金物资资源管理系统</h3>
                    <div>
                        <img src="img/index/u6440_line.png" alt="" ms-css="{width:@imgWidth}" />
                    </div>
                    <div class="first-menu">
                        <ul>
                            <li ms-for="($index,el) in @firstMenu">
                                <p ms-text="el.Name"></p>
                                <a href="javascript:;" ms-click="@handleClickFirstMenu($event,$index)">
                                    <img ms-attr="{src:'img/菜单1/'+($index===@chooseFirstIndex?el.Activepicname.trim():el.Picname.trim())}" ms-class="$index===@chooseFirstIndex?'active':''" alt="" />
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="header-right">
                    <div class="header-right-top">
                        <!--<span><a href="javascript:;" ms-click="@queryAccount">账号查询</a></span>-->
                        <!--<span>丨</span>-->
                        <span><a href="javascript:;" ms-click="@logout">切换账号</a></span>
                        <span>丨</span>
                        <span><a href="javascript:;" ms-click="@changePassword">修改密码</a></span>
                    </div>
                    <div class="header-right-bottom">
                        <span ms-text="'您好！'+@user.Xm.trim()+'-'+@deptInfo.Ksmc"></span>
                    </div>
                </div>
            </div>
            <div class="second-menu">
                <ul>
                    <li ms-for="($index,el) in @secondMenu">
                        <img ms-if="$index === @chooseSecondIndex" src="img/index/u9.png" alt="" />
                        <a href="javascript:;" ms-click="@handleClickSecondMenu($event,$index)">
                            <img ms-attr="{src:'img/菜单2/'+($index===@chooseSecondIndex?el.Activepicname.trim():el.Picname.trim())}" alt="" />
                            <span ms-text="el.Name"></span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="third-menu" ms-visible="@showMenu">
                <ul>
                    <li ms-for="($index,el) in @thirdMenu">
                        <a href="javascript:;" ms-attr="{title:el.Name}" ms-click="@handleClickThirdMenu($event,$index)">
                            <img ms-attr="{src:'img/菜单3/'+(el.Picname!==null?el.Picname.trim():'固办.png')}" alt="" />
                            <span ms-text="el.Name"></span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="clear"></div>
            <div class="shadow"></div>

            <div class="msg-container">
                <div class="tips"><span class="text">消息提示</span><i class="ic-close"></i></div>
                <div class="msg-lists">
                    <div class="msg-list" ms-for="($index,el) in @cartNotice">
                        <div class='ic-list'><i class="ic-warning"></i></div>
                        <div class="msg">
                            <p class="msg-text">卡片号{{el.CardNumber}} 待报废申请未通过</p>
                            <p class="msg-reason">原因：{{el.Reason}}<br/></p>
                        </div>

                    </div>
                </div>
                <div class="msg-btn-wrap"><span class="msg-btn">确定</span></div>
            </div>
        </div>
        <div id="stockPopup"></div>
        <div id="goodsSelectWrap"></div>
        <!-- 主界面 -->
        <div id="main" class="main"></div>
    </div>
    <div th:include="config :: config"></div>
    <script data-main="js/pages/entries/index" src="js/common/require.min.js"></script>
</body>

</html>